package com.example.prison.service;

import com.example.prison.entity.DepartmentManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.prison.entity.vo.DepartmentManagementVO;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【department_management】的数据库操作Service
* @createDate 2024-06-03 10:42:06
*/
public interface DepartmentManagementService extends IService<DepartmentManagement> {

    PageInfo<DepartmentManagement> get(int pageNumber, int pageSize, String departName, String departLevel);

    int add(DepartmentManagement department);

    int delete(Integer[] ids);

    int update(DepartmentManagement department, Integer departId);

    DepartmentManagement getById(Integer departId);

    PageInfo<DepartmentManagementVO> getTree(int pageNumber, int pageSize);

}
